
package com.friendfeed.api;

import java.util.*;

public class Feed implements java.io.Serializable
{
	private String id;
	private String name;
	private String description;
	private String type;
	private Boolean isPrivate = Boolean.FALSE;
	private List<String> commands;
	
	public String getId()
	{
		return id;
	}
	public void setId(String id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getDescription()
	{
		return description;
	}
	public void setDescription(String description)
	{
		this.description = description;
	}
	public String getType()
	{
		return type;
	}
	public void setType(String type)
	{
		this.type = type;
	}
	public Boolean getIsPrivate()
	{
		return isPrivate;
	}
	
	public void setIsPrivate(Boolean b)
	{
		this.isPrivate = b;
	}
	
	public List<String> getCommands()
	{
		if (commands == null)
		{
			commands = new ArrayList<String>();
		}
		return commands;
	}
	
	public void setCommands(List<String> commands)
	{
		this.commands = commands;
	}
	

	public String toString()
	{
		return "id=" + id + ", name=" + name + ", type=" + type;
	}
}
